FROM node:16.14.2

WORKDIR /home/gin_vue_web/
COPY . .

# RUN yarn && yarn build

FROM nginx:alpine
LABEL MAINTAINER="1124045803@qq.com"

ADD .docker-compose/nginx/conf.d/my.conf /etc/nginx/conf.d/my.conf
COPY dist/ /usr/share/nginx/html

RUN cat /etc/nginx/nginx.conf
RUN cat /etc/nginx/conf.d/my.conf
RUN ls -al /usr/share/nginx/html


